<html>
<head>
</head>
<body>
<a href="http://www.example.com/" class="popup">Example</a>

<script type="text/javascript">
var atag = document.getElementsByTagName("a");
for (var i = 0; i <= atag.length; i++) {
	atag[i].onclick = function() {
		popUp(this.getAttribute("href"));
	}
}
function popUp(url) {
	window.open(url, "Xxx", "width=320,height=480");
	return false;
}
</script>
</body>
</html>